/* 
 * File:   NewForm.h
 * Author: lynn
 *
 * Created on 2010年11月1日, 下午4:11
 */

#ifndef _NEWFORM_H
#define	_NEWFORM_H

#include "ui_NewForm.h"
#include <QMessageBox>
#include<QDirModel>

class NewForm : public QDialog,public Ui::NewForm {
    Q_OBJECT
public:
    NewForm(QWidget *parent =0);
   // virtual ~NewForm();
    int showTreeView();


private:
    Ui::NewForm widget;
    QDirModel * model;
    QString fileName;
    
private slots:
    void showMessage(QString s);
    void showMsg(QString s);
    void showSecondFormC();
    void showSecondFormR();
    void removeFile();


};

#endif	/* _NEWFORM_H */
